<?php
include_once PATH_MODELS.'content'.SUFFIX;
class frontPageController{
	var $rs;
	function __construct(){
		$this->rs = new contentModel();
	}
	
	function display(){
		global $tpl;
		$tpl->assign('title','LiViSoftCMS');
		$tpl->assign('rs',$this->rs->get_all());
		$tpl->assign('site_layout_center', 'site'.DS.'3_col');
		$tpl->display('layout'.DS.'site'.DS.'index.tpl');
	}
}